Skip to content

Distroless container image created#1

Open
chaggeus wants to merge 6 commits intomainfrom
feature/distroless-dockerfile
Open

Distroless container image created#1
chaggeus wants to merge 6 commits intomainfrom
feature/distroless-dockerfile

Conversation

@chaggeus
Copy link
Contributor

Made testing with distroless container images and get it working.

With this lets create new tag to image e.g.:
theprojectaurora/k8s-http-request-mirror:distroless-latest

@chaggeus chaggeus requested a review from teemuvesala February 15, 2021 09:25
echo $(echo BUILD_TIME_ALPINE_VERSION: && /bin/cat /etc/alpine-release) && \
pip install -r /tmp/requirements.txt && \
mkdir /app
COPY ./entrypoint.sh /app/entrypoint.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose entrypoint.sh is not needed anymore. So remove that file and this line please.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Removed also other not needed lines

@chaggeus
Copy link
Contributor Author

@teemuvesala now needed changes is done

Copy link
Contributor Author

@chaggeus chaggeus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@teemuvesala added similarity to both implementation (apine and distroless based docker images). Merge and remove branch if you are happy with these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants